package com.wk.springframework.support;

import com.wk.springframework.common.exception.BeanException;
import com.wk.springframework.config.BeanDefinition;

import java.lang.reflect.Constructor;

public interface InstantiationStrategy {

    Object instantiate(BeanDefinition beanDefinition, String beanName, Constructor ctor, Object[] args) throws BeanException;

}
